#ifndef _I2C_HW_H_
#define _I2C_HW_H_
#include "stm32f4xx_hal.h"

//i2c1 device
extern struct i2c_dev_device i2c1_dev;

#define	I2C1_SDA_PORT	GPIOE
#define	I2C1_SDA_PIN	GPIO_PIN_4
#define I2C1_SDA_PIN_IDX	4

#define	I2C1_SCL_PORT	GPIOE
#define	I2C1_SCL_PIN	GPIO_PIN_3
#define I2C1_SCL_PIN_IDX	3

void stm32f4xx_i2c_init(void);

#endif
